import numpy
import sys

from common import *
from logging import debug

class WorldBase:
    def __init__(self, sizeX, sizeY):
        self.sizeX = sizeX
        self.sizeY = sizeY
        self.cells = numpy.zeros((self.sizeX, self.sizeY), dtype=numpy.int16)

    def setContent(self, x, y, value):
        self.cells[x,y] = value
    